//
//  LoginBox.h
//  MClient
//
//  Created by zhouyi on 10-12-8.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface LoginBox : UIAlertView <UIAlertViewDelegate, MCServer2ViewDelegate> {
	UITextField *userIdField;
	UITextField *passwordField;
	UIButton *loginButton;
	UIButton *cancelButton;
}

@property (nonatomic, retain) UITextField *userIdField;
@property (nonatomic, retain) UITextField *passwordField;
@property (nonatomic, retain) UIButton *loginButton;
@property (nonatomic, retain) UIButton *cancelButton;

- (id)initWithTitle:(NSString *)title message:(NSString *)message delegate:(id)delegate 
  cancelButtonTitle:(NSString *)cancelButtonTitle otherButtonTitles:(NSString *)otherButtonTitles, ...;
- (void)hideKeyboard;
- (void)selectCancelAction; 
@end
